package com.longdaji.decoration.ui.activitiesOfMine.pendingEvaluated;

import android.content.Context;
import android.net.Uri;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.bean.AddComment;
import com.longdaji.decoration.bean.GoodsComment;
import com.longdaji.decoration.bean.Orders;

import java.util.List;

/**
 * Created by Kanade on 2018/4/9 0009.
 */

public interface EvaluateContract {
    interface IView extends BaseView {
        void showAnonymous(boolean setAnonymous);

        void showCommentChosen(int degree);

        void showGoodsImage(String goodsImageAddress);

        void showUploadFailed();

        void showDoGoodsCommentSuccess();
    }

    interface IPresenter extends BasePresenter<IView> {
        void onAnonymousClick(boolean isAnonymous);

        void onCommentClick(int degree);

        void initGoods(int goodsId);

        void onFinishClick(boolean isPhotoAdded, String commentContent, int goodsId, String orderNo, List<Uri> imgs);


    }


    /*
    * 一次评论多个商品(淘宝)
    * */
//    interface IView extends BaseView {
//
//        void showInitList(List<AddComment> productList);
//
//        void showFinishDoGoodsComment();
//
//        void showUploadFailed();
//    }
//
//    interface IPresenter extends BasePresenter<IView> {
//
//        void onFinishClick(String orderNo, List<AddComment> addCommentList);
//
//        void initList(String orderNo);
//
//    }

}
